package com_djm_2025_06_10.demo1;

import java.util.Comparator;

public class AgeComparetor implements Comparator<Student> {
    @Override
    public int compare(Student stu1, Student stu2) {
        return stu1.age - stu2.age;
    }
}
